package com.nulldev.util.web.YouTubeExtractor.comments;

public class YTComment {
	private final String authorName;
	private final String authorThumbnail;
	private final boolean isLikedByOwner;
	private final boolean isHeartedByOwner;
	private final boolean isPinned;
	private final String comment;
	private final String comment_cont;
	private final long likes;
	private final long replyCount;
	private final boolean isVerified;

	public YTComment(final String authorName, final String authorThumbnail, final boolean isLikedByOwner, final boolean isHeartedByOwner,
			final boolean isPinned, final String comment,
			final String comment_cont, final long likes, final long replyCount, final boolean isVerified) {
		this.authorName = authorName;
		this.authorThumbnail = authorThumbnail;
		this.isLikedByOwner = isLikedByOwner;
		this.isHeartedByOwner = isHeartedByOwner;
		this.isPinned = isPinned;
		this.comment = comment;
		this.comment_cont = comment_cont;
		this.likes = likes;
		this.replyCount = replyCount;
		this.isVerified = isVerified;
	}

	public String getAuthorName() {
		return this.authorName;
	}

	public String getAuthorThumbnail() {
		return this.authorThumbnail;
	}

	public boolean isLiked() {
		return this.isLikedByOwner;
	}

	public boolean isHearted() {
		return this.isHeartedByOwner;
	}

	public boolean isPinned() {
		return this.isPinned;
	}

	public boolean isVerified() {
		return this.isVerified;
	}

	public String getComment() {
		return this.comment;
	}

	public String getRepliesCont() {
		return this.comment_cont;
	}

	public boolean hasReplies() {
		return this.comment_cont != null;
	}

	public long getLikes() {
		return this.likes;
	}

	public long getReplyCount() {
		return this.replyCount;
	}

	@Override
	public String toString() {
		return "YouTube.Comment[author=" + this.authorName + "]";
	}
}
